package com.lovo.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lovo.common.bean.OrderBean;
import com.lovo.common.result.GlobalHandleException;

import java.lang.reflect.InvocationTargetException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bdk
 * @since 2021-03-10
 */
public interface IOrderService extends IService<OrderBean> {
    void buy(Long userInfoId,Long commId) throws GlobalHandleException, InvocationTargetException, IllegalAccessException;
    void seckillBuy(Long userInfoId,Long commId) throws GlobalHandleException, InvocationTargetException, IllegalAccessException;
    void updateStatus(String orderId,int status);
}
